using UnityEngine;

namespace ClassicBehaviorTree
{
    public class Node
    {
        public string _key;
        protected MonoBehaviour _behaviorTree;
        protected NodeState _state;
        public virtual void Initialize(MonoBehaviour behaviorTree)
        {
            _behaviorTree = behaviorTree;
            _state = NodeState.Ready;
        }
        public virtual NodeState Update() { return NodeState.Ready; }
        public virtual void Reset() { _state = NodeState.Ready; }
    }
}
